import Vue from "vue";
// 完整引入
import "vant/lib/index.css";
import Vant, { Lazyload, Toast, Dialog } from "vant";

import MintUI from "mint-ui";
import "mint-ui/lib/style.css";
Vue.use(MintUI);
Vue.use(Toast);
Vue.use(Dialog);

Vue.use(Lazyload, {
  lazyComponent: true,
  // loading: '/loading.gif'
  // loading: require('../assets/loading.gif')
  // loading: '@/assets/loading.gif'
  loading:
    "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fzhengyongshun.com%2Fwp-content%2Fuploads%2F2017%2F02%2Ftimg-1.gif&refer=http%3A%2F%2Fzhengyongshun.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1654736475&t=2f2df2e5de40bbf6f1d7f4bcf4c698b8",
});

Vue.use(Vant);
